from django.urls import path
from shop import views

urlpatterns = [
    path('nav/', views.nav.as_view()),
    path('upload/', views.upload.as_view()),
    path('categroy/', views.category.as_view()),
    path('categoryinfo/', views.categoryinfo.as_view()),
    path('direction/', views.direction.as_view()),
    path('cate/', views.cate.as_view()),
    path('course/', views.course.as_view()),
    path('coursedetail/', views.coursedetail.as_view()),
    path('chapter/', views.chapter.as_view()),
    path('courseSearch/', views.courseSearch.as_view({'get': 'list'})),
    path('hotWord/', views.hotWord.as_view())
]